<?
include("../gestione/includes/config.inc.php");
include("../gestione/includes/auth.lib.php");
include("../gestione/includes/product_new.class.php");
include("../gestione/includes/e-commerce_new.class.php");
include("../gestione/includes/news.class.php");
include("../gestione/includes/content.class.php");
include("../gestione/includes/keywords.class.php");
include("../gestione/includes/class.xml.php");
$lang = "ita";
$navbar = "";
####################### DEFAULT PISCINE #######################################################
$cid = 2;
$tiponews = "piscine";
$titvetrina = "tit-articoli-piscine-vetrina.gif";
$titcontent = "bkgTitCnt_piscine.gif";
$tipobanner = "piscine";
$titprodotti = '<img src="../images/titoli/tit-prodotti-piscine.gif" width="240" height="55">';
$titnovita = '<img src="../images/titoli/tit-novita-piscine.gif" width="200" height="55">';
$logo = '<img src="../images/loghi/bs-piscine.gif" width="99" height="100">';
$bgcolor = '#00A6E9';
#############################################################################################
$menukey = keywords::getKeyBottomHome($tiponews);
$newSession = new websession();
if($newSession->getStatus())  {
  $registrati = "<a href=\"../".FOLDERNEW."/webproduct.php?op=logout\" class=navbar>logout</a>";
  $tablelogin = '<table class=navbar border="0" cellspacing="0" cellpadding="0">
					<tr>
					 <td>BENVENUTO <b>'.$newSession->webuser->ragione.'</b></td>
					 <td width=40>&nbsp;</td>
					 <td><a class=navbar href="../'.FOLDERNEW.'/webproduct.php?op=profile">My Home</a></td>
					 <td width=40>&nbsp;</td>
					</tr>	
            </table>';
 } else {
  $registrati = "<a href=\"../".FOLDERNEW."/webproduct.php?op=subscribe\" class=navbar rel=\"nofollow\">registrati</a>";
  $tablelogin = '<table border="0" cellspacing="0" cellpadding="0">
				<form name="formlogin" action="../'.FOLDERNEW.'/webproduct.php" method="post">
              <tr>
                <td width="40" align="center" class="navbar">user: </td>
                <td align="right"><input name="username" type="text" size="15"></td>
                <td width="60" align="center"><span class="navbar">password</span></td>
                <td align="center"><input name="password" type="password" size="15"></td>
                <td width="50" align="center">
				<input type=hidden name=op value=login>
				<input type="submit" name="Submit3" value="OK"></td>
                </tr>
			  </form>	
            </table>';
  }
################################ indicizzazione #####################################################
	 $newContent = new content(7);
	 $tagtitle = $newContent->tagtitle;
	 $tagkey = $newContent->tagkey;
	 $tagdesc = $newContent->tagdesc;
	 $metatitle = $newContent->metatitle;
	 $metakey = $newContent->metakey;
	 $metadesc = $newContent->metadesc;
	 $hidden = $newContent->hidden;   	 
############################# banner centrali #######################################################
  $qry = "SELECT * FROM home_new;";
  $res = mysql_query($qry);
  list($banner1,$link1,$banner2,$link2,$banner3,$link3,$banner4,$link4,$banner5,$link5,$banner6,$link6,$banner7,$link7,$banner8,$link8) = mysql_fetch_row($res);
  switch(substr($banner1,-3))  {
    case "gif":
	case "jpg":
	case "jpeg":
	  $ban1 = '<a href="'.$link1.'"><img src="../banner/home/'.$banner1.'" name="estate" width="470" height="140" id="estate" border="0"></a>';
	break;
	
	case "swf":
	  $ban1 = '<div style="z-index:1"><object style="z-index:1"  classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="463" height="133" id="banner01" align="middle" wmode="transparent">
<param name="allowScriptAccess" value="sameDomain" />
<param name="wmode" value="transparent">
<param name="movie" value="../banner/home/'.$banner1.'" /><param name="quality" value="high" /><param name="bgcolor" value="#999999" /><embed src="../banner/home/'.$banner1.'" quality="high" bgcolor="#999999" width="463" height="133" name="banner01" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent" />
</object></div>';
	break;
  }
  switch(substr($banner2,-3))  {
    case "gif":
	case "jpg":
	case "jpeg":
	  $ban2 = '<a href="'.$link2.'"><img src="../banner/home/'.$banner2.'" name="estate" width="470" height="140" id="estate" border="0"></a>';
	break;
	
	case "swf":
		$ban2 = '<div style="z-index:1"><object style="z-index:1"  classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="463" height="133" id="banner01" align="middle" wmode="transparent">
<param name="allowScriptAccess" value="sameDomain" />
<param name="wmode" value="transparent">
<param name="movie" value="../banner/home/'.$banner2.'" /><param name="quality" value="high" /><param name="bgcolor" value="#999999" /><embed src="../banner/home/'.$banner2.'" quality="high" bgcolor="#999999" width="463" height="133" name="banner02" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent" />
</object></div>';	
	break;
  }
  //spot
  $spot = News::doSpotNew($tiponews);
############################# banner destra 1 ###################################################
$bannerDx = banner::getCookieBanner("home","destra",1);
if(is_a($bannerDx,"banner"))  {
$banner = $bannerDx->getIt();
	if(!is_null($banner))
	  $banner_dx1 = $banner;
	else
	  $banner_dx1 = "";
} else
   $banner_dx1 = "";
############################# banner destra 2 ###################################################
$bannerDx = banner::getCookieBanner("home","destra",2);
if(is_a($bannerDx,"banner"))  {
$banner = $bannerDx->getIt();
	if(!is_null($banner))
	  $banner_dx2 = $banner;
	else
	  $banner_dx2 = "";
} else
   $banner_dx2 = "";
############################# banner destra 3 ###################################################
$bannerDx = banner::getCookieBanner("home","destra",3);
if(is_a($bannerDx,"banner"))  {
$banner = $bannerDx->getIt();
	if(!is_null($banner))
	  $banner_dx3 = $banner;
	else
	  $banner_dx3 = "";
} else
   $banner_dx3 = "";
############################# banner destra 4 ###################################################
$bannerDx = banner::getCookieBanner("home","destra",4);
if(is_a($bannerDx,"banner"))  {
$banner = $bannerDx->getIt();
	if(!is_null($banner))
	  $banner_dx4 = $banner;
	else
	  $banner_dx4 = "";
} else
   $banner_dx4 = "";
####################################### banner prodotti ##########################################
	$banner = articoli::getBanner($lang);
	$bannerProd = $banner[0];
	$onload = " onLoad=\"flvFTSS1('estate',1000,3000,1,1,'../banner/1-estate/01.jpg',0,'../banner/1-estate/02.jpg',5,'../banner/1-estate/03.jpg',9,'../banner/1-estate/04.jpg',11,'../banner/1-estate/05.jpg',13,'../banner/1-estate/06.jpg',14,'../banner/1-estate/07.jpg',16);flvFTSS1('pulitori',1000,3000,1,1,'../banner/2-pulitori/01.jpg',18,'../banner/2-pulitori/02.jpg',21,'../banner/2-pulitori/03.jpg',22,'../banner/2-pulitori/04.jpg',24,'../banner/2-pulitori/05.jpg',24,'../banner/2-pulitori/06.jpg',24,'../banner/2-pulitori/07.jpg',24,'../banner/2-pulitori/08.jpg',24); ".$banner[1]."\"";
##################################################################################################
?>
<!--
<?=$hidden."\n"?>
-->

<!--  -->

<html><!-- InstanceBegin template="/Templates/bstemplate_nico.dwt.php" codeOutsideHTMLIsLocked="false" -->
<head>
<!-- InstanceBeginEditable name="doctitle" -->
<title><?=$tagtitle?></title>

<meta name="keywords" content="<?=$tagkey?>">

<meta name="description" content="<?=$tagdesc?>">

<META NAME="Title" Content="<?=$metatitle?>">

<META NAME="Keyphrase" Content="<?=$metakey?>">

<meta http-equiv="description" content="<?=$metadesc?>">
		
<META NAME="revisit-after" content="15 days">
<META NAME="robots" content="all, index, follow">
<META NAME="copyright" content="Business Shop">
<META NAME="Autore" content="MediaTek www.media-tek.it">
<META NAME="audience" content="Alle, all">
<META NAME="Owner" Content="info@bsvillage.com">
<META NAME="Classification" Content="E-commerce">
<META NAME="pragma" content="no-cache">
<META NAME="rating" content="General">
<!-- InstanceEndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="../CSS/e-com.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="../gestione/js/NumberFormat154.js"></script>
<script type="text/javascript" src="../gestione/js/ajax.js"></script>
<script src="../js/menu/jquery-1.1.2.js" type="text/javascript"></script>
<!--<script type="text/javascript" src="../gestione/js/jquery-1.3.2.min.js"></script>-->
<script src="../js/menu/jquery.bgiframe.js" type="text/javascript"></script>
<script src="../js/menu/jquery.dimensions.js" type="text/javascript"></script>
<script src="../js/menu/jquery.jdMenu.js" type="text/javascript"></script>
<script type="text/JavaScript">
///////////////////////////////////
function clickIE4(){
if (event.button==2){
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("return false")

// --> 
<!--
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function flvFTSS4(){//v1.02
this.style.filter="";}

function flvFTSS3(){//v1.02
var v1=arguments,v2=v1[0],v3=MM_findObj(v2);if (v3&&v3.TSS2!=null){clearTimeout(v3.TSS2);}}

function flvFTSS2(){//v1.02
var v1=arguments,v2=v1[0],v3=MM_findObj(v2),v4=v1[1],v5=v1[2],v6,v7,v8,v9,v10,v11,v12=document;if (v3&&v3.TSS7){flvFTSS3(v2);v9="flvFTSS2('"+v2+"',"+v4+","+v5+")";if (v4==1){if (!v3.TSS5.complete){v3.TSS2=setTimeout(v9,50);return;}v6=v3.TSS9+1;if (v6>v3.TSS7.length-1){if (v3.TSS10==0){return;}else {v6=0;}}else if (v6+1<v3.TSS7.length){v3.TSS5.src=v3.TSS7[v6+1][0];}}else {if (!v3.TSS3.complete){v3.TSS2=setTimeout(v9,50);return;}v6=v3.TSS9-1;if (v6<0){if (v3.TSS10==0){return;}else {v6=v3.TSS7.length-1;}}else if (v6-1>0){v3.TSS3.src=v3.TSS7[v6-1][0];}}v3.TSS9=v6;v10=v3.TSS7[v6][0];v11=v3.TSS7[v6][1];v7=(v3.filters&&!v12.TSS6&&v11<25);if (v7){if (v3.filters[0]&&v3.filters[0].status==2){v3.filters[0].Stop();}if (v11==0){v8="blendTrans(Duration="+v3.TSS8+")";}else {v8="revealTrans(Duration="+v3.TSS8+",Transition="+(v11-1)+")";}v3.style.filter=v8;v3.onfilterchange=flvFTSS4;v3.filters[0].Apply();}v3.src=v10;if (v7){v3.filters[0].Play();}if (v5==1){v3.TSS2=setTimeout(v9,v3.TSS4);}}}

function flvFTSS1(){//v1.02
// Copyright 2003, Marja Ribbers-de Vroed, FlevOOware (www.TSS1.nl/dreamweaver/)
var v1=arguments,v2=document,v3=v1[0],v4=MM_findObj(v3),v5,v6;if (v4){v2.TSS6=(navigator.userAgent.toLowerCase().indexOf("mac")!=-1);v4.TSS8=v1[1]/1000;v4.TSS4=v1[2]+v1[1];v6=v1[3];v4.TSS10=v1[4];v4.TSS7=new Array();for (var v7=5;v7<v1.length;v7+=2){v4.TSS7[v4.TSS7.length]=new Array(v1[v7],v1[v7+1]);}v4.TSS9=0;v4.TSS5=new Image();v4.TSS5.src=v1[7];v4.TSS3=new Image();v4.TSS3.src=v1[v1.length-2];if (v6==1){v5="flvFTSS2('"+v3+"',1,"+v6+")";v4.TSS2=setTimeout(v5,v4.TSS4);}}}
//-->

$(document).ready(function(){
				$('ul.jd_menu_vertical').jdMenu({onShow: loadMenu, onHide: unloadMenu, offset: 1, onAnimate: onAnimate});
});
</script>
<link rel="stylesheet" href="../js/menu/jdMenu.css" type="text/css" />
<link rel="stylesheet" href="../js/menu/jdMenu.slate.css" type="text/css" />
<!-- InstanceBeginEditable name="head" -->
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-2773334-1";
urchinTracker();
</script>
<!-- Powered by: Crafty Syntax Live Help        http://www.craftysyntax.com/ -->
<script type="text/javascript" src="/livehelp/livehelp_js.php?eo=1&relative=Y&amp;department=2&amp;what=hidden&amp;serversession=1&amp;pingtimes=15"></script>
<!-- copyright 2003 - 2008 by Eric Gerdes --> 
<style type="text/css">
<!--
#slide {
	position:relative;
	width:190px;
	height:100px;
	z-index:1;
}
-->
</style>
<script type="text/javascript">
<!--
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function flvFLSS4(){//v1.0
var v1=arguments,v2=v1[0],v3=MM_findObj(v2);if (v3&&v3.LSS7!=null){clearTimeout(v3.LSS7);}}

function flvFLSS3(){//v1.0
var v1=arguments,v2=v1[0],v3=MM_findObj(v2),v4=v1[1],v5='',v6;if (!v3.LSS4.complete){v6="flvFLSS3('"+v2+"',"+v4+")";setTimeout(v6,50);return;}if (v3.LSS3[v4][1]!=""){v5+='<a href="'+v3.LSS3[v4][1]+'"';if (v3.LSS2!=""){v5+=' target="'+v3.LSS2+'"';}v5+='>';}v5+='<img src="'+v3.LSS3[v4][0]+'" border="0" alt="">';if (v3.LSS3[v4][1]!=""){v5+='</a>';}if (v3.LSS3[v4][2]!=""){v5+='<br>'+unescape(v3.LSS3[v4][2]);}if (document.layers){v3.document.open();v3.document.write(v5);v3.document.close();}else {v3.innerHTML=v5;}}

function flvFLSS2(){//v1.0
var v1=arguments,v2=v1[0],v3=MM_findObj(v2),v4=v1[1],v5=v1[2],v6,v7,v8;if (v3&&v3.LSS3){flvFLSS4(v2);if (v4==1){v6=v3.LSS8+1;if (v6>v3.LSS3.length-1){v6=0;if (v3.LSS9==0){return;}}v8=v3.LSS3[v6][0];}else {v6=v3.LSS8-1;if (v6<0){v6=v3.LSS3.length-1;if (v3.LSS9==0){return;}}v8=v3.LSS3[v6][0];}v3.LSS8=v6;if (!document.layers&&!v3.LSS6){v3.LSS4=new Image();}v3.LSS4.src=v8;flvFLSS3(v2,v6);if (v5==1){v7="flvFLSS2('"+v2+"',"+v4+","+v5+")";v3.LSS7=setTimeout(v7,v3.LSS5);}}}

function flvFLSS1(){//v1.0
// Copyright 2003, Marja Ribbers-de Vroed, FlevOOware (www.flevooware.nl/dreamweaver/)
var v1=arguments,v2=v1[0],v3=MM_findObj(v2),v4,v5;if (v3){v3.LSS5=v1[1];v5=v1[2];v3.LSS9=v1[3];v3.LSS2=v1[4];v3.LSS3=new Array();for (var v6=5;v6<v1.length;v6+=3){v3.LSS3[v3.LSS3.length]=new Array(v1[v6],v1[v6+1],v1[v6+2]);}v3.LSS8=0;v3.LSS6=(navigator.userAgent.toLowerCase().indexOf("netscape6")!=-1);v3.LSS4=new Image();v3.LSS4.src=v1[5];flvFLSS3(v2,0);if (v5){v4="flvFLSS2('"+v2+"',1,"+v5+")";v3.LSS7=setTimeout(v4,v3.LSS5);}}}
//-->
</script>
<!-- InstanceEndEditable -->
<style type="text/css">
<!--
.style1 {
	color: #7584A1;
	font-weight: bold;
}
-->
</style>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"  <?=$onload?>>
<!-- Javascript per disabilitare la selezione -->
<?
	$browser = $_SERVER['HTTP_USER_AGENT'];
	if(strpos($browser,"Firefox") === false || strpos($browser,"Mozilla") === false)  {
?>
<script language="JavaScript1.2">

function disabletext(e){
return false
}

function reEnable(){
return true
}

//if the browser is IE4+
document.onselectstart=new Function ("return false")

//if the browser is NS6
if (window.sidebar){
document.onmousedown=disabletext
document.onclick=reEnable
}
</script>
<? } ?>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  
  <tr>
    <td height="100" background="">&nbsp;</td>
    <td valign="top" background="">&nbsp;</td>
    <td width="952" valign="top" style="border-left:1px solid #B3B3B3;border-right:1px solid #B3B3B3"><table width="952" height="100" border="0" cellpadding="0" cellspacing="0" background="../images/top_new.jpg">
      <tr>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="99" align="center"><?=$logo?></td>
            <td align="right"><a href="../<?=FOLDERNEW?>/home.php"><img src="../images/spacer.gif" alt="Home Page" width="180" height="80" border="0"></a></td>
            <td width="670"><table width="100%" height="100" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td height="30" colspan="3" align="right"><table border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="330" align="center"><?=$tablelogin?></td>
                      <td width="65" align="center"><?=$registrati?></td>
                      <td width="23" align="center"><img src="../images/ico_login.gif" width="23" height="23"></td>
                      <td width="5" align="center">&nbsp;</td>
                      <td align="center"><a href="../<?=FOLDERNEW?>/webproduct.php?op=viewcart" rel="nofollow"><strong><img src="../images/carrello.gif" width="109" height="26" border="0"></strong></a></td>
                      <td width="5" align="right" valign="middle">&nbsp;</td>
                      <td width="100" align="center" valign="middle" class="plain-a">Perso la password?<br>
                        <a class="plain-a" href="../<?=FOLDERNEW?>/webproduct.php?op=risend_password" rel="nofollow">Clicca qui</a></td>
                    </tr>
                </table></td>
              </tr>
              <tr>
                <td width="54%" align="right" valign="middle" class="plain"><a href="../eng/home.php" class="plain" rel="nofollow"></a></td>
                <td width="16%" align="center" valign="middle" class="plain">
				<!-- Powered by: Crafty Syntax Live Help -->
				<script type="text/javascript" src="/livehelp/livehelp_js.php?eo=1&relative=Y&amp;department=2&amp;what=hidden&amp;serversession=1&amp;pingtimes=15"></script><!-- http://www.craftysyntax.com/ -->
				<!-- Powered by: Crafty Syntax Live Help        http://www.craftysyntax.com/ -->
<div id="craftysyntax">
<script type="text/javascript" src="http://www.vendita-piscine-interrate.com/chatbsvillage/livehelp/livehelp_js.php?eo=1&department=1&amp;serversession=1&amp;pingtimes=15"></script>
<br><font style="font-family: verdana, helvetica, sans-serif; font-size: 8px; color: #000000;"></a>
</div>
<!-- copyright 2003 - 2008 by Eric Gerdes --></td>
                <td width="30%" align="right" valign="middle" class="plain"><img src="../images/ordini-telefonici.gif" width="183" height="55">&nbsp;</td>
                </tr>
            </table></td>
          </tr>
        </table>
        </td>
      </tr>
    </table></td>
    <td valign="top" background="">&nbsp;</td>
    <td background="" bgcolor="">&nbsp;</td>
  </tr>
  <tr>
    <td height="100%" background="" bgcolor="">&nbsp;</td>
    <td valign="top" background="">&nbsp;</td>
    <td width="952" valign="top" style="border-left:1px solid #B3B3B3;border-right:1px solid #B3B3B3"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      
      <tr>
        <td style="border-top:#FFFFFF 1px solid"><table width="100%" height="28" border="0" cellpadding="0" cellspacing="0" background="../images/bkg.menu.gif">
            <tr valign="middle">
              <td width="190" valign="middle">&nbsp;</td>
              <td align="center"><div id="mtop"><a href="../<?=FOLDERNEW?>/home.php">Home</a><!--<a href="#">Blog</a>--><a href="../<?=FOLDERNEW?>/feedback.php">Feedback Village</a><a href="../<?=FOLDERNEW?>/ordertrack.php">Stato Ordini</a><a href="allnews.php?tipo=<?=$tiponews?>">News</a><a href="../<?=FOLDERNEW?>/webpage.php?idpage=6">FAQ</a></div></td>
              <td width="190" align="center" valign="middle"><a href="../<?=FOLDERNEW?>/rss.php"><img src="../images/rss.gif" width="49" height="23" border="0"></a></td>
            </tr>
          </table>          
          <table width="952" border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td bgcolor="<?=$bgcolor?>" style="border-top:#FFFFFF 1px solid; border-bottom:#FFFFFF 1px solid"><img src="../images/spacer.gif" width="952" height="5"></td>
            </tr>
          </table>
          <table width="100%" height="55" border="0" cellpadding="0" cellspacing="0" background="../images/bkg_top_news_search.gif">
            <tr valign="middle">
              <td width="240" valign="middle"><img src="../images/colSx/newsletter_new.jpg" width="240" height="55"></td>
              <td width="125" align="left"><table width="220" height="25" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="20">&nbsp;</td>
                  <td align="center" class="plain-a">Inserisci la tua e-mail per iscriverti</td>
                  </tr>
              </table>
                <table width="220" border="0" cellspacing="0" cellpadding="0">
                  <form action="../<?=FOLDERNEW?>/webproduct.php?op=subscribe_news" method="post">
                    <tr>
                      <td width="20">&nbsp;</td>
                      <td><input name="mailnews2" type="text" class="newsl" title="Inserisci la tua e-mail per iscriverti alla newsletter" value="e-mail" onClick="this.value=''"></td>
                      <td align="right"><input type="submit" name="Submit222" value="iscriviti">                      </td>
                      </tr>
                  </form>
                </table></td>
              <td align="right"><img src="../images/sep.gif" width="6" height="55"></td>
              <td width="240" valign="middle"><img src="../images/colSx/search_new.jpg" width="240" height="55"></td>
              <td width="222" valign="middle"><table width="220" border="0" cellspacing="0" cellpadding="0">
                <form name=formsearch action="../<?=FOLDERNEW?>/webproduct.php" method="post">
                  <tr>
                    <td width="177"><input name="search" type="text" class="news_new" onClick="this.value=''" value="cerca prodotto" size="15"></td>
                    <td width="43"><input type="hidden" name="op" value="search_web">
                        <input type="submit" name="Submit23" value="cerca"></td>
                    </tr>
                </form>
              </table></td>
            </tr>
          </table></td>
      </tr>
    </table>
      <table width="952" height="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td><table width="952" border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td bgcolor="<?=$bgcolor?>" style="border-top:#FFFFFF 1px solid; border-bottom:#FFFFFF 1px solid"><img src="../images/spacer.gif" width="952" height="5"></td>
            </tr>
          </table></td>
        </tr>
        
        <tr>
          <td height="100%"><table width="952" height="100%" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td width="240" valign="top" id="bkgTabSx"><table width="240" height="20" border="0" cellpadding="0" cellspacing="0">
                    <tr valign="middle">
                      <td height="20" align="center" class="tit02" valign="top"><?=$titprodotti?></td>
                    </tr>
                  </table>
                  <?
	//menusx categorie
	$menusx = category::menuSxNew($cid);	
	echo $menusx[0];		  
?>                
                  <table width="240" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td bgcolor="#999999" style=""><img src="../images/spacer.gif" width="240" height="1"></td>
                    </tr>
                  </table>
                  <table width="240" height="200" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td valign="top" style="background:url('/images/colSx/bkg-news.gif') no-repeat;"><table width="240" border="0" cellpadding="0" cellspacing="0">
                          <tr>
                            <td><img src="../images/spacer.gif" width="50" height="50"></td>
                          </tr>
                          <tr>
                            <td height="140"><table width="240" height="140" border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                  <td width="20"><img src="../images/spacer.gif" width="20" height="90"></td>
                                  <td width="200" class="plain">
                                  		<?=News::getRss()?>
                                  </td>
                                  <td width="20"><img src="../images/spacer.gif" width="20" height="90"></td>
                                </tr>
                            </table></td>
                          </tr>
                      </table></td>
                    </tr>
                  </table>
				  <?=$menusx[1]?>
				  <table width="240" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td bgcolor="#999999" style=""><img src="../images/spacer.gif" width="240" height="1"></td>
                    </tr>
                  </table>
				  <table width="240" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td align="center"><a href="http://www.facebook.com/pages/Reggio-Nell-Emilia-Italy/BSVillagecom-Piscine-Interrate-Giardinaggio-Novita-Fitness-Casa/43839966253?sid=ead7117d1df58dd7989deaaa4fc3e250&ref=search" target="_blank"><img src="../images/facebook1.jpg" border="0" style="margin-bottom:10px;margin-top:10px"></a></td>
                    </tr>
                  </table>
				  <table width="240" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td bgcolor="#999999" style=""><img src="../images/spacer.gif" width="240" height="1"></td>
                    </tr>
                  </table>
				 </td>
                <td width="710" valign="top" class="plain"><!-- InstanceBeginEditable name="content" -->
				    <table width="100%" cellpadding="0" cellspacing="0">
                      <tr>
                        <td width="512" valign="top" id="cnt-dot"><table width="100%" height="50" border="0" cellpadding="0" cellspacing="0">
                          <tr valign="middle">
                            <td align="center" background="../images/bkgTitCnt_piscine.gif">
							  <?=$spot?>							</td>
                          </tr>
                        </table>
                        <table width="100%" border="0" cellpadding="0" cellspacing="0">
                              <tr valign="middle">
                                <td align="center" class="tit02"><img src="../images/spacer.gif" width="50" height="5"></td>
                              </tr>
                          </table>
                          <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                              <td width="20"><img src="../images/spacer.gif" width="1" height="1"></td>
                              <td width="470" valign="top"><table width="470" height="140" border="0" cellpadding="0" cellspacing="0">
                                  <tr>
                                    <td valign="top" align="center">
									 <?=$ban1?>
									</td>
                                  </tr>
                                </table>
                                  <table width="470" height="10" border="0" cellpadding="0" cellspacing="0">
                                    <tr>
                                      <td><img src="../images/spacer.gif" width="1" height="1"></td>
                                    </tr>
                                  </table>
                                <!--<table width="470" height="140" border="0" cellpadding="0" cellspacing="0">
                                    <tr>
                                      <td valign="top" align="center">
									   <?=$ban2?>
									  </td>
                                    </tr>
                                </table>--></td>
                              <td width="20"><img src="../images/spacer.gif" width="1" height="1"></td>
                            </tr>
                          </table>
                          <table width="100%" height="20" border="0" cellpadding="0" cellspacing="0">
                              <tr valign="middle">
                                <td align="center">&nbsp;</td>
                              </tr>
                          </table>
                          <table width="100%" height="30" border="0" cellpadding="0" cellspacing="0">
                              <tr valign="middle">
                                <td align="center" background="../images/titoli/tit-articoli-piscine-vetrina.gif" class="tit02">&nbsp;</td>
                              </tr>
                          </table>
                          <table width="100%" border="0" cellpadding="0" cellspacing="0">
                              <tr valign="middle">
                                <td align="center" class="tit02"><img src="../images/spacer.gif" width="50" height="5"></td>
                              </tr>
                          </table>
                          <table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td width="20"><img src="../images/spacer.gif" width="20" height="36"></td>
                                <td width="472" valign="top">
<?
	//vetrina Piscine
	echo articoli::getVetrina($lang,2);
?>								</td>
                                <td width="20"><img src="../images/spacer.gif" width="20" height="36"></td>
                              </tr>
                          </table>
                        </td>
<td width="200" valign="top"><table width="200" border="0" cellpadding="0" cellspacing="0">
                  <tr valign="middle">
                    <td width="20" align="center"><span class="tit02"><img src="../images/titoli/tit-novita-piscine.gif" width="200" height="55"></span></td>
                    </tr>
                </table>
                  <table width="200" border="0" cellpadding="0" cellspacing="0">
                  <tr valign="middle">
                    <td width="20" align="center"><img src="../images/spacer.gif" width="20" height="36"></td>
                    <td width="160" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<?
	//novit�
	echo articoli::getNovita($cid,$lang);
?>
                      <tr>
                        <td align="center">&nbsp;</td>
                      </tr>
								</table></td>
                    <td width="20" align="center"><img src="../images/spacer.gif" width="1" height="1"></td>
                  </tr>
                </table>
				<table width="200" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td bgcolor="#999999" style=""><img src="../images/spacer.gif" width="200" height="1"></td>
                    </tr>
                  </table>
				  <table width="200" cellpadding="0" cellspacing="0">
				   <tr>
				    <td align="center" valign="middle" width="100%"><?=$bannerProd?></td>
				   </tr>
				  </table>
                  <table width="200" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td bgcolor="#999999" style=""><img src="../images/spacer.gif" width="200" height="1"></td>
                    </tr>
                  </table>
				  <table width="200" cellpadding="0" cellspacing="0">
				   <tr>
				    <td align="center" valign="middle"><?=$banner_dx1?></td>
				   </tr>
				  </table>
				  <table width="200" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td bgcolor="#999999" style=""><img src="../images/spacer.gif" width="200" height="1"></td>
                    </tr>
                  </table>
				  <table width="200" cellpadding="0" cellspacing="0">
				   <tr>
				    <td align="center" valign="middle"><?=$banner_dx2?></td>
				   </tr>
				  </table>
				  <table width="200" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td bgcolor="#999999" style=""><img src="../images/spacer.gif" width="200" height="1"></td>
                    </tr>
                  </table>                  
				  <table width="200" cellpadding="0" cellspacing="0">
				   <tr>
				    <td align="center" valign="middle"><?=$banner_dx3?></td>
				   </tr>
				  </table>
				  <table width="200" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td bgcolor="#999999" style=""><img src="../images/spacer.gif" width="200" height="1"></td>
                    </tr>
                  </table>
				  <table width="200" cellpadding="0" cellspacing="0">
				   <tr>
				    <td align="center" valign="middle"><?=$banner_dx4?></td>
				   </tr>
				  </table>
				  <table width="200" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td bgcolor="#999999" style=""><img src="../images/spacer.gif" width="200" height="1"></td>
                    </tr>
                  </table>
				  <!--<table width="200" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td align="center" bgcolor="#F0F0F0"><a href="../ita/webpage.php?idpage=4"><img src="../images/colDx/web_partners-affiliaz.gif" width="200" height="80" border="0"></a></td>
                    </tr>
                  </table>
                  <table width="200" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td bgcolor="#999999" style=""><img src="../images/spacer.gif" width="200" height="1"></td>
                    </tr>
                  </table>
                  <table width="200" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td align="center" bgcolor="#F0F0F0"><a href="http://stores.ebay.it/BSVILLAGE" target="_blank"><img src="../images/colDx/ebay.gif" width="200" height="80" border="0"></a></td>
                    </tr>
                  </table>
                  <table width="200" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td bgcolor="#999999" style=""><img src="../images/spacer.gif" width="200" height="1"></td>
                    </tr>
                  </table>
                  <table width="200" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td align="center" bgcolor="#F0F0F0"><a href="http://www.poste.it/bancoposta/cartedipagamento/postepay_index.shtml" target="_blank"><img src="../images/colDx/postePay.gif" alt="Poste Pay" width="200" height="120" border="0"></a></td>
                    </tr>
                  </table>
                  <table width="200" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td bgcolor="#999999" style=""><img src="../images/spacer.gif" width="200" height="1"></td>
                    </tr>
                  </table>
                  <table width="200" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td align="center" bgcolor="#F0F0F0"><a href="https://www.paypal.com/it/cgi-bin/webscr?cmd=xpt/cps/general/DiscoverPayPal-outside" target="_blank"><img src="../images/colDx/paypal_verified.gif" alt="PayPal verified" width="200" height="120" border="0"></a></td>
                    </tr>
                  </table>-->
                  <table width="200" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td bgcolor="#999999" style=""><img src="../images/spacer.gif" width="200" height="1"></td>
                    </tr>
                  </table></td>
                      </tr>
                    </table>
				  <!-- InstanceEndEditable --></td>
              </tr>
            </table>
          </td>
        </tr>
      </table>    
    </td>
    <td valign="top" background="">&nbsp;</td>
    <td background="" bgcolor="">&nbsp;</td>
  </tr>
  <tr>
    <td height="130" background="" bgcolor="">&nbsp;</td>
    <td width="20" background="">&nbsp;</td>
    <td width="952" height="80" valign="bottom" bgcolor="#FBFBFB" style="border-left:1px solid #B3B3B3;border-right:1px solid #B3B3B3"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><img src="../images/spacer.gif" width="50" height="10"></td>
      </tr>
    </table>
      <table width="100%" border="0" cellpadding="0" cellspacing="0" background="../images/balloon_down.jpg">
        <tr>
          <td width="25%" height="180" align="center" valign="top"><table width="190" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td>&nbsp;</td>
            </tr>
            <tr>
              <td>&nbsp;</td>
            </tr>
            <tr>
              <td><span class="testo_dett2">Societ&agrave;<br>
                <br>
               </span></td>
              </tr>
            <tr>
              <td>
			  <?=content::getMenu(5)?>
			  </td>
            </tr>
          </table></td>
          <td width="26%" align="center" valign="top"><table width="210" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td>&nbsp;</td>
            </tr>
            <tr>
              <td>&nbsp;</td>
            </tr>
            <tr>
              <td><span class="testo_dett2">Pagamenti</span><span class="style1"><br>
                  <br>
              </span></td>
              </tr>
            <tr>
              <td>
			  <?=content::getMenu(6)?>
			  </td>
            </tr>
          </table></td>
          <td width="26%" align="center" valign="top"><table width="210" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td>&nbsp;</td>
            </tr>
            <tr>
              <td>&nbsp;</td>
            </tr>
            <tr>
              <td><span class="testo_dett2">Evasione e consegna ordini</span> <br>
                  <br></td>
            </tr>
            <tr>
			  <td>
				  <ul>
					<li class="plain"><a href="../<?=FOLDERNEW?>/feedback.php" class="plain">Feedback</a></li>
				  </ul>
			  </td>
            </tr>
          </table></td>
          <td width="23%" align="center" valign="top"><table width="180" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td>&nbsp;</td>
            </tr>
            <tr>
              <td>&nbsp;</td>
            </tr>
            <tr>
              <td><span class="testo_dett2">Condizioni di vendita</span> <br>
                  <br></td>
            </tr>
            <tr>
              <td>
			  <?=content::getMenu(8)?>
			  </td>
            </tr>
          </table></td>
        </tr>
      </table>
      <table width="100%" height="28" border="0" cellpadding="0" cellspacing="0" background="../images/bkg.menu.gif">
        <tr valign="middle">
          <td width="20" valign="middle">&nbsp;</td>
          <td align="center"><div id="mtop"><a href="http://www.bsvillage.com"><strong>Network:</strong> BsVillage.com</a> <a href="../<?=FOLDERNEW?>/webpage.php?idpage=4">Circuito Affiliazione </a><a href="../<?=FOLDERNEW?>/sitemap.php">Mappa Sito</a> <!--<a href="#">Blog BS Piscine</a> <a href="../<?=FOLDERNEW?>/webpage.php?idpage=2">Blog BS Giardino</a> <a href="../<?=FOLDERNEW?>/webpage.php?idpage=3">Blog BS Casa</a> <a href="../<?=FOLDERNEW?>/feedback.php">Blog BS Fitness</a>--></div></td>
          <td width="20" valign="middle">&nbsp;</td>
        </tr>
      </table>
      <table width="952" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td bgcolor="#CCCCCC" style="border-top:#FFFFFF 1px solid; border-bottom:#FFFFFF 1px solid"><img src="../images/spacer.gif" width="952" height="1"></td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><img src="../images/spacer.gif" width="50" height="10"></td>
        </tr>
      </table>
      <table width="952" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="120" align="center">&nbsp;</td>
          <td align="center"><img src="../images/cards/1_visa.gif" width="43" height="30"></td>
          <td align="center"><img src="../images/cards/2_mastercard.gif" width="53" height="30"></td>
          <td align="center"><img src="../images/cards/4_postepay.gif" width="57" height="30"></td>
          <td align="center"><img src="../images/cards/iwbank.gif" width="108" height="30"></td>
          <td align="center"><img src="../images/cards/7_verified.gif" width="68" height="30"></td>
          <td align="center"><img src="../images/cards/8_securemastercard.gif" width="67" height="30"></td>
		  <td align="center"><img src="../images/cards/9_paypal.gif" width="60" height="30"></td>
          <td width="120" align="center">&nbsp;</td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><img src="../images/spacer.gif" width="50" height="10"></td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td valign="bottom"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          
            <tr>
              <td><table width="952" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td bgcolor="<?=$bgcolor?>" style="border-top:#FFFFFF 1px solid; border-bottom:#FFFFFF 1px solid"><img src="../images/spacer.gif" width="952" height="5"></td>
                </tr>
              </table></td>
            </tr>
            <tr>
              <td><table width="952" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td bgcolor="#CCCCCC" style="border-top:#FFFFFF 1px solid; border-bottom:#FFFFFF 1px solid"><img src="../images/spacer.gif" width="952" height="1"></td>
                  </tr>
                </table>
                <table width="100%" height="30" border="0" cellpadding="2" cellspacing="0">
                    
                    <tr>
                      <td width="20" class="credits">&nbsp;</td>
                      <td class="plain-a">Le informazioni riportate su www.bsvillage.com possono essere soggette a modifiche senza preavviso. Web site design, testi e grafica &copy; 2006 BS Village. E' vietata la riproduzione anche parziale. BS Village 42100 Reggio Emilia P.IVA 02218140354</td>
                      <td width="20" class="plain-a">&nbsp;</td>
                      <td  style="border-left:#CCCCCC 1px solid" width="150" bgcolor="#FFFFFF" class="credits"><div align="center">WebSite by <a href="http://www.media-tek.it" title="Media Tek" target="_blank" class="credits" rel="nofollow">Media Tek</a></div></td>
                    </tr>
                </table>
				<table width="100%" border="0" cellpadding="2" cellspacing="0">
				  <tr>
				    <td align="center" class="credits" valign="middle"><?=$menukey?></td>
				  </tr>
				</table>
			</td>
            </tr>
            
        </table></td>
        </tr>
      
      <tr>
        <td valign="bottom" bgcolor="#CCCCCC"><img src="../images/spacer.gif" width="952" height="1"></td>
        </tr>
    </table></td>
    <td width="20" background="">&nbsp;</td>
    <td background="">&nbsp;</td>
  </tr>
</table>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-2773334-1";
urchinTracker();
</script>
</body>
<!-- InstanceEnd --></html>